<template>
	<view class="start-wrap u-flex u-row-center u-col-center">
		<image class="start-img" src="/static/gif/start.gif" mode="aspectFill" @load="loadImage"></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {};
		},
		onLoad() {

		},
		methods: {
			loadImage() {
				setTimeout(() => {
					uni.switchTab({
						url: '/pages/index/index'
					});
					// uni.reLaunch({
					// 	url:"/pages/liveDisplay/liveDisplay"
					// })
				}, 1500);
			}
		}
	}
</script>

<style lang="scss">
	page {
		height: 100%;
		background-color: #000;
	}
	.start-wrap {
		width: 100%;
		height: 100%;
		display: flex;
		justify-content: center; /* 水平居中 */
		align-items: center; /* 垂直居中 */
	}
	.start-img {
		width: 500rpx;
		height: 500rpx;
	}
</style>
